package Base;

public class Book {

    private String ISBN;
    private String bookName;
    private String author;
    private double price;
    private String publisher;

    public Book(String ISBN, String bookName, String author, double price, String publisher) {
        this.ISBN = ISBN;
        this.bookName = bookName;
        this.author = author;
        this.price = price;
        this.publisher = publisher;
    }

    @Override
    public String toString() {
        return "Base.Book{" +
                "ISBN='" + ISBN + '\'' +
                ", bookName='" + bookName + '\'' +
                ", author='" + author + '\'' +
                ", price=" + price +
                ", publisher='" + publisher + '\'' +
                '}';
    }

    public String getISBN() {
        return ISBN;
    }

    public void setISBN(String ISBN) {
        this.ISBN = ISBN;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getPublisher() {
        return publisher;
    }

    public void setPublisher(String publisher) {
        this.publisher = publisher;
    }
}
